package demo.Design.Module.Porxy.CglibPorxy;

import javax.security.auth.callback.Callback;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/10/14-10-14-10:01
 * @Description：demo.Design.Module.Porxy.CglibPorxy
 */
public class testCglibProxy {
    public static void main(String[] args) {

//        //增强器
//        Enhancer e = new Enhancer();
//        //给指定父类增强
//        e.getSuperClass(UserService.class);
//        //指定增强类的增强逻辑  ----  invoationHander
//        Callback callback;
//        e.setCallback(callback);
//        //左边是父类，右边是代理子类
    }
}
